package cn.ywsj.ywsjmidtier.controller;

import cn.ywsj.ywsjmidtier.service.CompanyFeign;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "企业资料")
@RestController
@RequestMapping("/member/companymgr")
public class CompanyController {

    @Autowired
    private CompanyFeign companyFeign;

    /**
     * 企业资料_公司银行列表
     * @return
     */
    @ApiOperation("企业资料_公司银行列表")
    @GetMapping("/getbanklist")
    public String getBankList() {
        return companyFeign.getBankList();
    }
}
